package com.wonders.framework.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.wonders.framework.dao.BaseDao;
import com.wonders.framework.service.BaseService;

/**
 * 基础服务层实现
 * 
 * @author WuBin
 * 
 */
@Service
public class BaseServiceImpl implements BaseService {

	@Autowired
	@Qualifier("baseDaoImpl")
	private BaseDao baseDao;

	public Long getSequence(String name) {
		return baseDao.getSequence(name);
	}

}
